#include<bits/stdc++.h>
using namespace std;
signed main() {
    int n, m;
    cin >> n >> m;

    while(n--) {
        double p;
        cin >> p;
        if(m - p > 1e-6)
            cout << "On Sale! " << fixed << setprecision(1) << p << "\n";
    }
    return 0;
}

